package com.fgr.service;

import com.fgr.beans.Message;

import java.util.List;

public interface MessageService {
    public List<Message> selectAllMessage(Integer publish);

    public String addMessage(Message message);

    public Message selectMessageByMsgId(Integer msgId);

    public Message selectMessageByMsgIdAuditing(Integer msgId);

    public String deleteMessageByMsgIdBg(Integer msgId);

    public String updateMessagePublishByMsgId(Integer msgId);

    public String updateMessage(Message message);



}
